package ar.com.mooral.activities;

import android.content.ComponentName;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;

public class Terminos extends CrohnActivity {

    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.terminos);

        
        Button btnTerminosAceptar = (Button) findViewById(R.id.btnTerminosAceptar);
        btnTerminosAceptar.setOnClickListener (new View.OnClickListener() {
		    public void onClick(View view) {
				Intent intent = new Intent();
				intent.setComponent(new ComponentName(CodigoMedico.class.getPackage().getName(), CodigoMedico.class.getName()));
				startActivity(intent);
		    }
		});		

        
        Button btnTerminosCancelar = (Button) findViewById(R.id.btnTerminosCancelar);
        btnTerminosCancelar.setOnClickListener (new View.OnClickListener() {
		    public void onClick(View view) {
		    	finish();
		    }
		});		
        
    }
    
}
